package cn.credit.loan.entity;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 申请贷款信息类
 * @author
 *
 */
public class Loanapplication {
	private Integer loanId;				//申请编号
	private Integer loancustId;			//客户基本信息编号(外键)-----(关联客户个人信息表主键)
	private String loanEmerContOne;		//紧急联系人1---（家人）
	private String loanTeleOne;			//紧急联系人的联系方式
	private String loanEmerContTwo;		//紧急联系人2---（朋友）
	private String loanTeleTwo;			//紧急联系人的联系方式
	private String loanEmerContThree;	//紧急联系人3---（同事）
	private String loanTeleThree;		//紧急联系人的联系方式
	private Double loanQuota;			//期望贷款金额
	private Integer loanStagId;			//分期期数编号（外键）----（关联分期表主键）
	private String loanCardJustPath;	//身份证正面路径
	private String loanCardBackPath;	//身份证背面路径
	private String loanCardPath;		//本人手持身份证照片路径
	private Integer purposeId;			//用途表编号（外键）-------（关联用途表主键）
	@JSONField(format="yyyy-MM-dd")
	private Date loanDate;				//贷款申请时间
	private String loanType;			//贷款申请审查状态
	
	private String custName;
	private String custIDcardNo;
	private String custTele;
	
	//引入对象
	private Customer customer;//客户基本信息对象
	private Staging staging;  //分期期数对象
	private Purpose purpose;  //贷款类型用途对象
	private Approve approve;  //贷款审批对象
	
	
	public Integer getLoanId() {
		return loanId;
	}

	public void setLoanId(Integer loanId) {
		this.loanId = loanId;
	}

	public Integer getLoancustId() {
		return loancustId;
	}

	public void setLoancustId(Integer loancustId) {
		this.loancustId = loancustId;
	}

	public String getLoanEmerContOne() {
		return loanEmerContOne;
	}

	public void setLoanEmerContOne(String loanEmerContOne) {
		this.loanEmerContOne = loanEmerContOne;
	}

	public String getLoanTeleOne() {
		return loanTeleOne;
	}

	public void setLoanTeleOne(String loanTeleOne) {
		this.loanTeleOne = loanTeleOne;
	}

	public String getLoanEmerContTwo() {
		return loanEmerContTwo;
	}

	public void setLoanEmerContTwo(String loanEmerContTwo) {
		this.loanEmerContTwo = loanEmerContTwo;
	}

	public String getLoanTeleTwo() {
		return loanTeleTwo;
	}

	public void setLoanTeleTwo(String loanTeleTwo) {
		this.loanTeleTwo = loanTeleTwo;
	}

	public String getLoanEmerContThree() {
		return loanEmerContThree;
	}

	public void setLoanEmerContThree(String loanEmerContThree) {
		this.loanEmerContThree = loanEmerContThree;
	}

	public String getLoanTeleThree() {
		return loanTeleThree;
	}

	public void setLoanTeleThree(String loanTeleThree) {
		this.loanTeleThree = loanTeleThree;
	}

	public Double getLoanQuota() {
		return loanQuota;
	}

	public void setLoanQuota(Double loanQuota) {
		this.loanQuota = loanQuota;
	}

	public Integer getLoanStagId() {
		return loanStagId;
	}

	public void setLoanStagId(Integer loanStagId) {
		this.loanStagId = loanStagId;
	}

	public String getLoanCardJustPath() {
		return loanCardJustPath;
	}

	public void setLoanCardJustPath(String loanCardJustPath) {
		this.loanCardJustPath = loanCardJustPath;
	}

	public String getLoanCardBackPath() {
		return loanCardBackPath;
	}

	public void setLoanCardBackPath(String loanCardBackPath) {
		this.loanCardBackPath = loanCardBackPath;
	}

	public String getLoanCardPath() {
		return loanCardPath;
	}

	public void setLoanCardPath(String loanCardPath) {
		this.loanCardPath = loanCardPath;
	}

	public Integer getPurposeId() {
		return purposeId;
	}

	public void setPurposeId(Integer purposeId) {
		this.purposeId = purposeId;
	}

	public Date getLoanDate() {
		return loanDate;
	}

	public String getLoanType() {
		return loanType;
	}

	public void setLoanType(String loanType) {
		this.loanType = loanType;
	}

	public String getCustName() {
		return custName;
	}

	public void setCustName(String custName) {
		this.custName = custName;
	}

	public String getCustIDcardNo() {
		return custIDcardNo;
	}

	public void setCustIDcardNo(String custIDcardNo) {
		this.custIDcardNo = custIDcardNo;
	}

	public String getCustTele() {
		return custTele;
	}

	public void setCustTele(String custTele) {
		this.custTele = custTele;
	}

	public Customer getCustomer() {
		return customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

	public Staging getStaging() {
		return staging;
	}

	public void setStaging(Staging staging) {
		this.staging = staging;
	}

	public Purpose getPurpose() {
		return purpose;
	}

	public void setPurpose(Purpose purpose) {
		this.purpose = purpose;
	}

	public Approve getApprove() {
		return approve;
	}

	public void setApprove(Approve approve) {
		this.approve = approve;
	}

	public void setLoanDate(Date loanDate) {
		this.loanDate = loanDate;
	}

}
